using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace Pricom
{
    class WinAPI
    {
        [DllImport("User32.dll", EntryPoint = "FlashWindow", CharSet = CharSet.Auto)]
        public static extern bool FlashWindow(IntPtr hwnd, bool bInvert);

        [DllImport("user32.dll", EntryPoint = "SendMessage", CharSet = CharSet.Auto)]
        public static extern int SendMessage(IntPtr handle, int message, int wparam, int lparam);

        static public void ScrollDown(IntPtr handle)
        {
            SendMessage(handle, 277, 7, 0);
        }
    }
}
